﻿import http from '@/utils/http';

interface IemailQuery {
    pageIndex: number;
    pageSize: number;
    sortField: string;
    sortOrder: string;
    email?: string;
    phone?: string;
}

export default {
    getEmailCodeList: (query: IemailQuery) => http({ url: '/api/verificationcode/getgameemail', query, method: 'get' }),
    getSmsCodeList: (query: IemailQuery) => http({ url: '/api/verificationcode/getgamesms', query, method: 'get' }),
};
